//
//  GameOverLayer.m
//  StarBugs
//
//  Created by ?? ? on 1/9/12.
//  Copyright 2012 antisword@playorca.com. All rights reserved.
//

#include "Layer/GameOverLayer.h"

GameOverLayer::~GameOverLayer()
{
    
}

GameOverLayer::GameOverLayer(int coin, int bumpy)
{
    remainCoinCnt = coin;
    remainBumpyCnt = bumpy;
    
    if(coin > 0)
        gameOverState = GameOverState_fail;
    else
        gameOverState = GameOverState_clear;
}

